using System.ComponentModel.DataAnnotations;
using Pgvector;

namespace RAGApp.Api.Models;

public class DocumentChunk
{
    public Guid Id { get; set; }
    
    public Guid DocumentId { get; set; }
    
    [Required]
    public string Content { get; set; } = string.Empty;
    
    public Vector? Embedding { get; set; }
    
    public DateTime CreatedAt { get; set; }
    
    // Navigation property
    public Document Document { get; set; } = null!;
} 